package com.liuyun.scheduledemo.schedule;

import lombok.Data;

import java.util.concurrent.ScheduledFuture;

/**
 * <p>
 * Copyright: (C), 2021/7/22 10:56
 * <p>
 * <p>
 * Company Information & Data Security Solutions Co., Ltd.
 *
 * @author LiuYun liujw@idss-cn.com
 * @version 1.0
 */
@Data
public class ScheduleInfo {
    /**
     * 任务本身，用于取消任务
     */
    private ScheduledFuture<?> future;

    private String taskId;

    private String type;

    private String cron;

    private Long period;
}
